package com.glp.work.flow.dto;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author liwenhong
 * @title
 * @date 2020/3/17.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserEntity {
  private Long id;
  private String userName;
  private String userNo;
  private String appId;
  private String phone;
  private String email;
  private String businessRangeCodes;
  private List<NormalEntity> roles;
  private List<NormalEntity> business;
}

class NormalEntity {
  private String code;
  private String name;

  public String getCode() {
	return code;
  }

  public void setCode(String code) {
	this.code = code;
  }

  public String getName() {
	return name;
  }

  public void setName(String name) {
	this.name = name;
  }
}
